package com.dfba.Homework7;

public class Company extends Employee implements Money{
    private  double zijin=100000.0;
    @Override
    public void playSalary(Employee emp) {
        System.out.println("给"+emp.name+"发工资"+emp.salary+"公司剩余"+(zijin=zijin-emp.salary)+"元");
    }
}
